	<style>
		#metable{
			width:100%;
		}
		#metable th{
			text-align:center;
		}
		#metable td{
			text-align:center;
		}
	</style>
	<include file='Public/header' />
	<h1 class="page-header">收货地址维护</h1>
	<a class="pull-right" href="{:U('form',array('id'=>$uid))}">添加收货地址</a>
	<form method='POST' action='index'>

	<table id="metable" class='table table-striped'>
<tr><th>收货人</th><th>联系方式</th><th>收货地址</th><th colspan='2'>操作</th></tr>

<volist name="list" id='vo'>
	<tr>
		<td>{$vo.name}</td>
		<td>{$vo.phone}</td>
		<td>{$vo.location}</td>
		<td><td><a href="{:U('mod',array('id'=>$vo['id']))}">修改</a>	
	<a href="javascript:if(confirm('确认删除?')) location='{:U('delete',array('id'=>$vo['id'],'uid'=>$uid))}'">  |  删除</a>
	</td>
	</tr>
</volist>
</table>
</form>
<div class="text-center">
	<ul class="pagination">{$page}</ul>
</div>
<include file='Public/footer'/>
